package com.szd.qiongyou20.home.inteface;


import com.szd.qiongyou20.home.bean.CityData;
import com.szd.qiongyou20.home.bean.HomeListData;
import com.szd.qiongyou20.home.bean.HomeNearData;
import com.szd.qiongyou20.home.bean.HotSearchBean;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;


/**
 * Created by SZD on 2016/11/26.
 */

public interface Interface_Data {
    //qyer/home/home_feed?client_id=qyer_android&client_secret=9fcaae8aefc4f9ac4915&v=1&track_deviceid=867271028985116&track_app_version=7.1.0&track_app_channel=oppo&track_device_info=OnePlus2&track_os=Android5.1.1&app_installtime=1481785414016&page=1
    @GET("qyer/home/home_feed?client_id=qyer_android&client_secret=9fcaae8aefc4f9ac4915&v=1&track_deviceid=867271028985116&track_app_version=7.1.0&track_app_channel=oppo&track_device_info=OnePlus2&track_os=Android5.1.1&app_installtime=1481785414016&page=1")
    Call<HomeListData> getListData();

    @GET("qyer/home/home_city_info?client_id=qyer_android&client_secret=9fcaae8aefc4f9ac4915")
    Call<HomeNearData> getNearData();

    //?client_id=qyer_android&client_secret=9fcaae8aefc4f9ac4915&track_app_version=7.1.0&city_id=63
    @GET("qyer/city/index")
    Call<CityData> getCityData(@QueryMap Map<String, String> map);

    @GET("qyer/search/hot_history?client_id=qyer_android&client_secret=9fcaae8aefc4f9ac4915&v=1&track_deviceid=867271028985116&track_app_version=7.0.5&track_app_channel=oppo&track_device_info=OnePlus2&track_os=Android5.1.1&app_installtime=1479783581323&lat=40.06333&lon=116.346314")
    Call<HotSearchBean> getSearchData();
}
